﻿using System;

namespace Classes
{
    class Program
    {
        static void Main(string[] args)
        {
            Processor proc = new Processor(4, "Intel");
            Console.WriteLine(proc.CoresCount);
            
            proc.Cores[0] = new Core();
            proc.Cores[0].Id = "1";
            proc.Cores[0].Frequency = 2.5f;

            proc.Cores[1] = new Core("2", 2.5f);
            
            proc.Cores[2] = new Core() 
            { 
                Frequency = 2.5f, 
                Id = "3" 
            };

            proc.Cores[3] = new Core
            {
                Frequency = 2.5f,
                Id = "4"
            };
        }
    }
}
